package contas

public abstract class Usuario {
	String login
	String senha
	String email
	String telefone
	String nome
	
	static constraints = {
		login(size:6..12,blank:false,unique:true)
		senha(size:6..15, blank:false)
		email(maxSize:50,blank:false,email:true)
		telefone(maxSize:30)
		nome(maxSize:50,blank:false)
	}
}

